<?php include("includes/session.php"); ?>
<?php include("includes/connect_db.php"); ?>
<?php include("includes/header.php"); ?>
<?php include("notif.php"); ?>

<?php 
	$koneksi = $_GET['kondb']; 
	$sql = $_GET['sql'];
	echo $koneksi.$sql;
?>

<style>
	.format{
		min-height: 50px;
		border: 1px solid #08c;
		padding-left: 10px;
	}

	.header{
		color: #FFF;
		border: 1px solid #08c;
		background: #08c;
		height: 20px;
		padding-left: 10px;
	}

	.but{
		margin-top: 10px;
	}

	.btn{
		width: 100px;
	}
</style>

<div class="span9">  
    <h3>SMS</h3>                      
    <ul class="breadcrumb well">
    	<li><a href="format.php">Format SMS</a> <span class="divider">/</span></li>
        <li class="active">Tambah</li>                
    </ul>    
    
	<!-- <ul id="myTab" class="nav nav-tabs">
		<li class="active"><a href="#select" data-toggle="tab">Select</a></li>
		<li class=""><a href="#join" data-toggle="tab">Join</a></li>
		<li class=""><a href="#insert" data-toggle="tab">Insert</a></li>
		<li class=""><a href="#update" data-toggle="tab">Update</a></li>
		<li class=""><a href="#delete" data-toggle="tab">delete</a></li>
		<li class=""><a href="#function" data-toggle="tab">Function</a></li>
		<li class=""><a href="#procedure" data-toggle="tab">Procedure</a></li>
	</ul>

	<div id="myTabContent" class="tab-content">
		<div class="tab-pane fade active in" id="select">
			<?php include("format-tambah_select.php"); ?>
		</div>
		<div class="tab-pane fade" id="join">
			<?php include("format-tambah_join.php"); ?>
		</div>
		<div class="tab-pane fade" id="insert">
			<?php include("format-tambah_insert.php"); ?>
		</div>
		<div class="tab-pane fade" id="update">
			<?php include("format-tambah_update.php"); ?>
		</div>
		<div class="tab-pane fade" id="delete">
			<?php include("format-tambah_delete.php"); ?>
		</div>
		<div class="tab-pane fade" id="function">
			<?php include("format-tambah_function.php"); ?>
		</div>
		<div class="tab-pane fade" id="procedure">
			<?php include("format-tambah_procedure.php"); ?>
		</div>
	</div> -->
</div>

<?php
	if ($koneksi == "*" or empty($koneksi)){
        echo "<SCRIPT> location.href='format.php'; </SCRIPT>";
    }
?>

<?php include("includes/footer.php"); ?>

<script type="text/javascript">
	$(function () {
    	$('#myTab a:first').tab('show');
  	});
</script>